#ifndef CONVERSIONPALLET_HPP_INCLUDED
#define CONVERSIONPALLET_HPP_INCLUDED

#include <gtkmm.h>
#include <libglademm.h>
#include <string>
#include "image.h"
#include "externtypes.h"
#include "morphology.h"



class ConversionPallet{

    Gtk::Window *window;
    Gtk::RadioButton *radio1;
    Gtk::RadioButton *radio2;

    Gtk::RadioButton *radio3;
    Gtk::RadioButton *radio4;

    Gtk::RadioButton *radio5;
    Gtk::RadioButton *radio6;

    Gtk::RadioButton *radio7;
    Gtk::RadioButton *radio8;

    Gtk::RadioButton *radio9;
    Gtk::RadioButton *radio10;
    Gtk::RadioButton *radio11;
    Gtk::SpinButton *value;

    Gtk::RadioButton *radio12;
    Gtk::RadioButton *radio13;

    Gtk::RadioButton *radio14;
    Gtk::RadioButton *radio15;
    Gtk::RadioButton *radio16;
    Gtk::RadioButton *radio17;

    Gtk::RadioButton *radio18;
    Gtk::RadioButton *radio19;
    Gtk::RadioButton *radio20;
    Gtk::RadioButton *radio21;


    public:

        unsigned int binaryto;
        unsigned int greyto;
        unsigned int colorto;
        unsigned int binarytogreyoption;
        unsigned int setedvalue;
        unsigned int binarytocoloroption;
        unsigned int greytobinaryoption;
        unsigned int greytocoloroption;
        unsigned int colortobinaryoption;
        unsigned int colortograyoption;

        ConversionPallet();
        ~ConversionPallet();

        void readParams();
        virtual void paramchange();

        Gtk::Window* getWindow();
};


#endif // CONVERSIONPALLET_HPP_INCLUDED
